#coding=utf-8

import memcache

mc = memcache.Client(['192.168.30.174:12000'],debug=True)
mc.set('foo','bar')
ret = mc.get('foo')
print ret